/*
 * @Author: your name
 * @Date: 2021-01-09 13:49:59
 * @LastEditTime: 2021-01-10 13:14:00
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \relearnJS\interview\1.9test\index.js
 */
var a = [0]
if ([0]) {
    console.log([0] == true)
}

function fn() {
    return 10
}
fn.toString = function () {
    return 20
}
fn.valueOf = function () {
    return 5
}
console.log(fn + 20)